package com.example.test.dao;

import com.example.test.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IUserDao {
    User login(@Param("username") String username, @Param("password") String password);
    void insert(@Param("username") String username, @Param("password") String password);
    void update(@Param("username") String username, @Param("password") String password);
    List<User> check(@Param("username") String username);
}
